//
//  UIView+BCScreenshot.h
//  BCUIKit
//
//  Created by chun.chen on 2020/10/19.
//  截图

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (BCScreenshot)

/// 截图
- (UIImage *)bc_screenshot;

/// 指定位置截图
/// @param rect rect description
- (UIImage *)bc_screenshotForCroppingRect:(CGRect)rect;

@end

NS_ASSUME_NONNULL_END
